Skip to content

Conversation

@MarkPaulin
Copy link
Contributor

commandArgs() by default returns the name of the executable and the name of the file as the first two items. Using trailingOnly = TRUE fixes this.

`commandArgs()` by default returns the name of the executable and the name of the file as the first two items. Using `trailingOnly = TRUE` fixes this.
Copy link

@ldavies99 ldavies99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the suggested changes do follow the expected behaviour more closely. Happy for this to merge.

Thank you.

@sarahcollyer sarahcollyer merged commit d255abc into best-practice-and-impact:main Oct 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants